package com.boco.ibssystem.business.controller;


import com.boco.biinjectionserviceapi.vo.Params;
import com.boco.ibssystem.business.service.IWszyService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * 卫生资源监管-卫生人力
 * @author linyifeng
 * @date 2019/5/14
 */
@RestController
@RequestMapping("/wszy")
@Api(tags = "卫生资源")
public class WszyController {

    @Autowired
    private IWszyService iWszyService;


    /**
     * 卫生人力-人力资源构成
     * @param params
     * @return
     */
    @ApiOperation(value = "卫生人力-人力资源构成")
    @RequestMapping(value = "rlzyGc",method = {RequestMethod.POST,RequestMethod.GET})
    public Object rlzyGc(@RequestBody(required = false) Params params){
        return  iWszyService.rlzyGc(params);

    }


    /**
     * 卫生人力-千人口资源数
     * @param params
     */
    @ApiOperation(value = "卫生人力-千人口资源数")
    @RequestMapping(value = "qrkZys",method = {RequestMethod.POST,RequestMethod.GET})
    public void qrkZys(@RequestBody(required = false) Params params){
        iWszyService.qrkZys(params);

    }


    /**
     * 卫生人力-人力资源学历比
     */
    /*@RequestMapping(value = "rlzyXlb",method = {RequestMethod.POST,RequestMethod.GET})
    public void rlzyXlb(@RequestBody(required = false) Params params){
        iWszyService.rlzyXlb(params);
    }*/
    /**
     * 卫生人力-人力资源职称比
     */
   /* @RequestMapping(value = "rlzyZcb",method = {RequestMethod.POST,RequestMethod.GET})
    public void rlzyZcb(@RequestBody(required = false) Params params){
        iWszyService.rlzyZcb(params);
    }*/

    /**
     * 卫生经费-医疗服务收入概述
     * @param params
     */
    @ApiOperation(value = "卫生经费-医疗服务收入概述")
    @RequestMapping(value = "ylfwSrgs",method = {RequestMethod.POST,RequestMethod.GET})
    public void ylfwSrgs(@RequestBody(required = false) Params params){
        iWszyService.ylfwSrgs(params);
    }


    /**
     * 卫生经费-医疗机构服务收入(Top10)
     * @param params
     */
    @ApiOperation(value = "卫生经费-医疗机构服务收入(Top10)")
    @RequestMapping(value = "yljgFwsr",method = {RequestMethod.POST,RequestMethod.GET})
    public void yljgFwsr(@RequestBody(required = false) Params params){
        iWszyService.yljgFwsr(params);
    }


    /**
     * 卫生经费-药品收入占医疗收入比
     * @param params
     */
    @ApiOperation(value = "卫生经费-药品收入占医疗收入比")
    @RequestMapping(value = "ypsrZylb",method = {RequestMethod.POST,RequestMethod.GET})
    public void ypsrZylb(@RequestBody(required = false) Params params){
        iWszyService.ypsrZylb(params);
    }


    /**
     * 卫生经费-药品收入类型比
     * @param params
     */
    @ApiOperation(value = "卫生经费-药品收入类型比")
    @RequestMapping(value = "ypsrLxb",method = {RequestMethod.POST,RequestMethod.GET})
    public void ypsrLxb(@RequestBody(required = false) Params params){
        iWszyService.ypsrLxb(params);
    }


    /**
     * 卫生设施-医疗机构分类
     * @param params
     */
    @ApiOperation(value = "卫生设施-医疗机构分类")
    @RequestMapping(value = "yljgFl",method = {RequestMethod.POST,RequestMethod.GET})
    public void yljgFl(@RequestBody(required = false) Params params){
        iWszyService.yljgFl(params);
    }


    /**
     * 卫生设施-万元设备数
     * @param params
     * @return
     */
    @ApiOperation(value = "卫生设施-万元设备数")
    @RequestMapping(value = "wysbs",method = {RequestMethod.POST,RequestMethod.GET})
    public Object wysbs(@RequestBody(required = false) Params params){
        return iWszyService.wysbs(params);
    }


    /**
     * 卫生设施-医师床位比
     * @param params
     */
    @ApiOperation(value = "卫生设施-医师床位比")
    @RequestMapping(value = "yscwb",method = {RequestMethod.POST,RequestMethod.GET})
    public void yscwb(@RequestBody(required = false) Params params){
        iWszyService.yscwb(params);
    }


    /**
     * 卫生设施-护士床位比
     * @param params
     */
    @ApiOperation(value = "卫生设施-护士床位比")
    @RequestMapping(value = "hscwb",method = {RequestMethod.POST,RequestMethod.GET})
    public void hscwb(@RequestBody(required = false) Params params){
        iWszyService.hscwb(params);
    }


    /**
     * 卫生设施-床位使用情况
     * @param params
     */
    @ApiOperation(value = "卫生设施-床位使用情况")
    @RequestMapping(value = "cwsyqk",method = {RequestMethod.POST,RequestMethod.GET})
    public void cwsyqk(@RequestBody(required = false) Params params){
        iWszyService.cwsyqk(params);
    }

}
